home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / iachar.z / iachar
Encoding:
Text File  |  1998-10-30  |  1.6 KB  |  42 lines

  1. IACHAR(3I)                                             Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      IIAACCHHAARR - Returns the position of a character in the ASCII collating
  6.      sequence
  7.  
  8. SSYYNNOOPPSSIISS
  9.      IIAACCHHAARR (([CC==]_c))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. SSTTAANNDDAARRDDSS
  15.      Fortran 90
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      The IIAACCHHAARR intrinsic function returns the position of a character in
  19.      the ASCII collating sequence.  It accepts the following argument:
  20.  
  21.      _c    Must be of type character and of length 1
  22.  
  23.      IIAACCHHAARR is an elemental function.  The name of this intrinsic cannot be
  24.      passed as an argument.
  25.  
  26. RREETTUURRNN VVAALLUUEESS
  27.      The result type is a default integer value.  If _c is in the collating
  28.      sequence defined by the codes specified in ISO 646:1983 (International
  29.      Reference Version), the result is the position of _c in that sequence
  30.      and satisfies the inequality (0 <= IIAACCHHAARR (_c) <= 127).  The results
  31.      are consistent with the LLGGEE, LLGGTT, LLLLEE, and LLLLTT lexical comparison
  32.      functions.  For example, if LLLLEE((CC,,DD)) is true, IIAACCHHAARR((CC))..LLEE..IIAACCHHAARR((DD))
  33.      is true when CC and DD are any two ASCII characters.
  34.  
  35. EEXXAAMMPPLLEESS
  36.      IIAACCHHAARR((''XX'')) has the value 88.
  37.  
  38. SSEEEE AALLSSOO
  39.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  40.      printed version of this man page.
  41.  
  42.